var beiMiCommon = require("BeiMiCommon");
cc.Class({
    extends: beiMiCommon,

    properties: {
      updateName:{
        default:null,
        type:cc.Prefab
      },
      examine:{
        default:null,
        type:cc.Prefab
      },
      logs:{
        default:null,
        type:cc.Prefab
      },
      dismiss:{
        default:null,
        type:cc.Prefab
      },
      query:{
        default:null,
        type:cc.Prefab
      },
      addMember:{
        default:null,
        type:cc.Prefab
      }
    },
    onUpdateNameClick:function(){
        cc.beimi.openwin3 = cc.instantiate(this.updateName) ;
        cc.beimi.openwin3.parent = cc.find('Canvas');
    },
    onExamineClick:function(){
        cc.beimi.openwin3 = cc.instantiate(this.examine) ;
        cc.beimi.openwin3.parent = cc.find('Canvas');
    },
    onLogsClick:function(){
        cc.beimi.openwin3 = cc.instantiate(this.logs) ;
        cc.beimi.openwin3.parent = cc.find('Canvas');
    },
    onDismissClick:function(){
        cc.beimi.openwin3 = cc.instantiate(this.dismiss) ;
        cc.beimi.openwin3.parent = cc.find('Canvas');
    },
    onQueryClick:function(){
        cc.beimi.openwin3 = cc.instantiate(this.query) ;
        cc.beimi.openwin3.parent = cc.find('Canvas');
    },
    onAddMemberClick:function(){
        cc.beimi.openwin3 = cc.instantiate(this.addMember) ;
        cc.beimi.openwin3.parent = cc.find('Canvas');
    },
});
